#include <iostream>
using namespace std;

struct Student {
	//成员变量
	char name[100];
	int age;
	//成员函数,方法
	void who (void) {
		cout << "我是" << name << ", 今年" << age << "岁" << endl;
	}
};

int main (void)
{
	Student s = {"andy", 18};
	cout << s.name << "," << s.age << endl;
	s.who();
	return 0;
}
